<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
//上传初始设置

$config['upload_path'] = './uploads/';
$config['allowed_types'] = 'gif|jpg|png|rar|zip|7z|doc|docx|ppt|xls|csv|sql';
$config['max_size'] = '0';
$config['max_width'] = '1024';
$config['max_height'] = '768';
?>